home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
doc
/
expand.doc
< prev
next >
Wrap
Text File
|
1992-11-23
|
819b
|
37 lines
dcc/expand dcc/expand
EXPAND.DOC
SYNOPSIS
expand wildcard
expand "template" wildcard ...
DESCRIPTION
The EXPAND program will generate a file list based on one or more
wildcard patterns. If you specify only a single argument it should be
a wildcard pattern. If you specify more then one argument then the
first argument MUST be template for formatting the output.
The template currently supports:
* standard characters
* %s (replaced with the filename, up to 10 occurances)
* %% (replaced with a single '%'), use when you need a '%'
character so as not to confuse the template
For example:
1> expand S:#?
startup-sequence
user-startup
...
1> expand "hello %s %s" S:#?
hello startup-sequence startup-sequence
hello user-startup startup-sequence
...
1>